echo -e "Test begin."
echo -e "Test data 1: "
./test <testin/test1.in> test1.out
if cmp -s test1.out testin/test1.ans
then echo -e "Accepted."
else echo -e "Wrong Answer!"
fi

echo -e "Test data 2: "
./test <testin/test2.in> test2.out
if cmp -s test2.out testin/test2.ans
then echo -e "Accepted."
else echo -e "Wrong Answer!"
fi

echo -e "Test data 3: "
./test <testin/test3.in> test3.out
if cmp -s test3.out testin/test3.ans
then echo -e "Accepted."
else echo -e "Wrong Answer!"
fi